package org.dromara.tearoom.domain.bo;

import org.dromara.tearoom.domain.TerDoorEvent;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 茶室开门记录业务对象 ter_door_event
 *
 * @author xiechh
 * @date 2025-04-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerDoorEvent.class, reverseConvertGenerate = false)
public class TerDoorEventBo extends BaseEntity {

    /**
     * 事件id
     */
    @NotNull(message = "事件id不能为空", groups = { EditGroup.class })
    private Long eventid;

    /**
     * 房间编号
     */
    private Long hid;

    /**
     * 操作者
     */
    private String owner;

    /**
     * 发生时间
     */
    private Date eventTime;

    /**
     * 茶室名称
     */
    private String teroomName;


}
